//
//  XFDNodeMenu.h
//  XFDHomeWorkPlatfrom_Example
//
//  Created by 朱国良 on 2017/11/2.
//  Copyright © 2017年 GL-ZHU. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^NodesBlock)(UIImageView *topLeftImg,NSArray <UIButton *>*btns);
typedef void(^imageBlock)(UIImageView *imageView);
typedef void(^labelBlock)(UILabel *label);
typedef void(^tapClick)(void);

@interface XFDNodeMenu : UIView

+ (instancetype)nodeMenuTitle:(NSString *)title nodes:(NodesBlock)block andTitles:(NSArray *)discriptions frame:(CGRect)frame;

+ (instancetype)nodeMenuLeftImageView:(imageBlock)imgBlock title:(labelBlock)titleBlock content:(labelBlock)contentBlock tapClick:(tapClick)tapBlock small:(BOOL)small;
@end
